//
//  IntegralResModel.swift
//  koolcar
//
//  Created by xiantian on 2023/11/8.
//

import UIKit
import ObjectMapper

class IntegralResModel: Mappable {
    var code : String?
    var data : IntegralDataModel?
    var msg : String?
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
    required init?(map: Map) {
        
    }
}
class IntegralDataModel: Mappable {
    var content : [IntegralContentModel]?
    var pageNumber : NSInteger?
    var pageSize : NSInteger?
    var total : NSInteger?
    func mapping(map: Map) {
        content <- map["content"]
        pageNumber <- map["pageNumber"]
        pageSize <- map["pageSize"]
        total <- map["total"]
    }
    required init?(map: Map) {
        
    }
}
class IntegralContentModel: Mappable {
    var account : String?
    var createdTime : String?
    var integralValue : Double?
    var type : String?
    var typeValue : NSInteger?
    func mapping(map: Map) {
        account <- map["account"]
        createdTime <- map["createdTime"]
        integralValue <- map["integralValue"]
        type <- map["type"]
        typeValue <- map["typeValue"]
    }
    required init?(map: Map) {
        
    }
}
